package com.example.a1.fannong.core.manager.user;

import cn.personal.library.json.JsonField;


/**
 * 用户信息实体类
 * Created by nishuhang on 16/12/30.
 */
public class User implements Cloneable {
    @JsonField("userId")
    private String uid = "";
    @JsonField("nickName")
    private String nickName = "";
    @JsonField("userName")
    private String userName = "";

    @JsonField("headImg")
    private String avatarUr;
    @JsonField("roleName")
    private String roleName;
    @JsonField("special")
    private String special;

    public String getUid() {
        return uid;
    }

    public void setUid(String uid) {
        this.uid = uid;
    }

    @Override
    public User clone() {
        try {
            return (User) super.clone();
        } catch (Exception e) {
            e.printStackTrace();
            return new User();
        }
    }


    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAvatarUr() {
        return avatarUr;
    }

    public void setAvatarUr(String avatarUr) {
        this.avatarUr = avatarUr;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getSpecial() {
        return special;
    }

    public void setSpecial(String special) {
        this.special = special;
    }
}
